<script type="text/javascript" >

var grid_demo_id2 = "myGrid2" ;


var dsOption2= {

	fields :[
		{name : 'Id_Commande'  },
		{name : 'Date_Commande'  },
		{name : 'Date_fin_Liv'  },
		{name : 'Etat'  },
		{name : 'Montant' },
		{name : 'GLN_DO'},
		{name : 'GLN_Client' },
	    {name : 'Offres' },	
	],
	recordType : 'array'
}



var colsOption2 = [
     {id: 'Id_Commande' , header: "N&#176" , width :30  },
     {id: 'Date_Commande' , header: "Date de la commande" , width :80  },
	 {id: 'Date_fin_Liv' , header: "Date de livraison" , width :80  },
	 {id: 'Etat' , header: "Etat" , width :80  },
	 {id: 'Montant' , header: "Montant" , width :60},
	 {id: 'GLN_DO' , header: "GLN_DO" , width :60},
	 {id: 'GLN_Client' , header: "GLN_Client" , width :80},
	 {id: 'Offres', header: "Offres", width :62},
];


var gridOption2={
	id : grid_demo_id2,
	loadURL : "_fct/Usine/CommandeController2.php",
	width: 540,//"100%", // 700,
	height: 300,//"100%", // 330,
	container : 'gridbox', 
	replaceContainer : true, 
	encoding : 'UTF-8', // Sigma.$encoding(), 
	dataset : dsOption2 ,
	columns : colsOption2 ,
	skin: "vista",
	pageSize:100,
	toolbarContent : 'reload'
};

var mygrid2=new Sigma.Grid( gridOption2 );
Sigma.Util.onLoad(function(){mygrid2.render()});
//////////////////////////////////////////////////////////


</script>
   Commandes trait&eacute;es ou &#224; traiter par l'entrepot: <br />
   <div id="bigbox" style="margin-top:15px;display:!none;">
      <div id="gridbox" style="border:0px solid #cccccc;background-color:#f3f3f3;padding:5px;height:200px;width:700px;" ></div>
    </div>